Count Files Command Mac

find path/to/directory | wc -l
Armandres