[storage] Removed window from getCount method.