OAK-1907: Refactor ContentMirrorStoreStategy::count a bit to have a single point of return