This isn't the exact answer to your question for which I hope you'll excuse me but I do hope it could be useful ;-)
There is a tool I created named ProjectBuildCounter. It is free, easy to use, no setup hassles and visual studio versions mess. Could use it for as many projects you want. You can download here. Usage info is available here.