LS | WC -L w innym katalogu

cd "your path" && ls | wc -l
peamdev