[+BUGFIX] Persistence: return ObjectCount return value as an integer