Pliki terminali w katalogu

ls | wc -l        or       ls <path> | wc -l
Mushy Mallard