added Repo->count()