Implementing the project counters

there’s some test code there that has to be removed
More comments
Fixed project stats