Fixes problem where item count in offline cache was off.
It did not take care of items already read from cache and stored in memory cache.

Signed-off-by: Michel Verbraak <info@1st-setup.nl>