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