find -name '*.p[lm]' -print0 | xargs -r0 cat | wc -l