2

With the zsh shell, globs can be filtered by file type (here directory) using glob qualifiers, and with the extendedglob option on, you get a (#cX,Y) glob operator similar to ERE {X,Y}, so you could do:
set -o extendedglob
print -rC1 -- ?(#c5,)(ND/)
To print raw on 1 Column the files of type dir...