Start counting from actual beginning of PDF file