git/stats: Extend statistics about packfiles
This MR lifts packfilesSizeAndCount()
into git/stats
and extends the information it provides. This is another step towards using the git/stats
package to inform the heuristical optimization strategy.