find -name '*.p[lm]' -exec wc -l {} \; | awk '{ sum+=$1 } END { print sum }'