Fixed total LOC count for stats from multiple repositories

Total LOC in the General stats for multiple repositories shows the
total from the last project, not the aggregate from all projects.