title: Get item count from pgs subtitles with python
body: <p>I need count how many items (lines) have a subtitle file in PGS format. I don't need convert it to SRT or make any OCR operation.</p>
  <p>Is there any way to get the number of items in a PGS file using python?</p>
  <p>Thanks</p>