count.js: support data-page-id paths

Closes #255
1 job for master in 3 minutes and 13 seconds
Status Job ID Name Coverage
  Docker Registry Master
passed #392852752
docker-registry-master

00:03:13