intern@linux:~> grep --binary-files=text Page mozilla.pdf
<</Type/Page/MediaBox [0 0 612 792]
<</Type/Page/MediaBox [0 0 612 792]
<</Type/Page/MediaBox [0 0 612 792]
<< /Type /Pages /Kids [
<</Type /Catalog /Pages 3 0 R
intern@linux:~>
intern@linux:~> cat *.pdf | grep -c --binary-files=text '/Page/'
4
intern@linux:~>