ls | wc -l #Count files on current directory ls path/to/dir | wc -l #Count files on specific directory path
ls -R|wc -l
find -maxdepth 1 -type d | while read -r dir; do printf "%s: " "$dir"; find "$dir" -type f | wc -l; done