for i in */ .*/ ; do      echo -n $i": " ;      (find "$i" -type f | wc -l) ;  done 

Read more of this post