(refs #406)Fix pull request count in the dashboard