Get file count in current directory

ls -Aq | wc -l