When fetching a counter, do not accidentally create it in case it does not exist
(cherry picked from commit 47cd18c007ee24c3a2c2bdf853fdcbb5790a9e95)