Fixing pagination on projects page

- Somehow will-paginate is not getting the correct count for the number of projects.
  Fixed by counting the projects and setting manually.
Towards #1292