Overall size of the repository or number of commits
select count(commits.id) as num_commits, projects.name as project_name, projects.url as url
from commits
join project_commits on commits.id = project_commits.project_id
join projects on projects.id = project_commits.project_id
group by projects.id