Count files and directories using shell script

open link ...............


http://stackoverflow.com/questions/13727069/count-files-and-directories-using-shell-script