terminal mendapatkan jumlah file di dir

#Type in terminal in the directory:

ls -1 | wc -l
Exuberant Elk