Add statistics methods to repo

I wasn't able to get tests to work at all, it seems like they are actually trying to access github? Anyway, this adds repo statistics methods.