discoverRepository
adding count to discoverRepository
configured karma jasmine