git/stats: Extend statistics about loose objects
This MR lifts countLooseObjects()
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.