For Mac users:
0. Download the original plugin.
1. Unzip "Count Pages.zip", a folder named "Count Pages" will be created.
2. Inside that folder locate and open the file "statistics.py" (
TextWrangler -free- works fine).
3. Find and replace the line 108:
Code:
Find: " internal_path = os.path.relpath(spath, iterator.base).replace('\\','/')"
Replace: " internal_path = os.path.relpath(spath.replace('/private',''), iterator.base).replace('\\','/')"
(without quotes, of course)
4. Save "statistics.py"
5. Zip
the contents of the folder "Count Pages". Note that is the contents (12 items), not the folder "Count Pages". Rename if neccesary the new zipped archive to "Count Pages.zip"
6. That's all, install and enjoy the plugin.
Have a nice day.
Edit:
Fixed in the v1.6.6 release.