add GetStats method to RepositoriesService