modify countPage.py