From Birnam Designs Wiki
Combining the find and wc commands will allow you to count outputs. Example:
find . -name "*fla" | wc -l
The -l switch specifies that the count is for the number of lines in the standard input, in this case the result of the find command.