update cache items count after restore

Fixes #198