Count files and directory in unix