added count as a caching option