basic repo count working