public int Size(Session session, IPersistentStore store) { lock (this._lock) { return(store.ElementCount(session)); } }