Chain commands in an alias:
alias dols="ls; echo `ls -l | grep ^d | wc -l` directories; echo `ls -l |
grep ^- | wc -l` files"
customize as needed
If you're wondering why you copied and pasted this in it didn't work but
just constantly showed you the stats for the directory you were in when you
executed it, then make sure you replaced the " (double quotes) with '
(single quotes). Otherwise your shell will expand the stuff in between the
` ` rather than taking it literally (in general, " means everything in here
is a string, but expand what you can whilst ' means everything in here is a
string, don't expand anything).