Refactore number of projects