Add statistics methods to repo