Find all files (type f) and execute the awk command on each file, which will count the number of lines in the file and print the total count.
find . -type f -exec awk '{ count++ } END { print count }' {} \;