(refs #498)Reformat counting pull request query