Number
View the number of files in the current folder (excluding files in subfolders):
ls -l|grep "^-"| wc -l
View the number of directories in the current folder (excluding folders in subfolders):
ls -l|grep "^d"| wc -l
View the number of files in the current folder (including files in subdirectories):
ls -lR| grep "^-" | wc -l
size
View the size of the current folder myfolder
du -sh myforder
View the size of all files in the current folder
ls -lh