Added statistics methods for repos.