Add a method in Project to return a cached value of total count of projects
This is in preparation to address the DB load caused by the counting in gitlab-com/infrastructure#303.
This is in preparation to address the DB load caused by the counting in gitlab-com/infrastructure#303.