I am looking to create a document that counts total number of pages in the PDF and returning the count of the occurrences of "FirstPG" in the upper left corner of the page.

Metadata takes care of the total number of pages in the document but I cannot seem to count the number of "FirstPG" occurrences in the document in the upper left corner.

Thank you in advance for your assistance.

Dan