fixed 2 bugs in RequestCountsRepository