An answer has already been given by simply adding another way using awk , which you will definitely have.
cat *.ext | awk 'BEGIN{i=0;} {i++;} END{print "Lines ", i}'
I only suggest this because it can be easily edited to add patterns (e.g. comments) for lines that you do not want to read.
Kevin
source share