Avoid executing queries when calling caches_count_where (#16)
Avoid executing queries when calling caches_count_where (#16)

* Avoid executing queries when calling caches_count_where

* Add back the validation of the scope

* Remove newly added spec

* Don't write fallback value to cache

* Remove default race condition fallback proc

* Use nil for fallback value when missing from cache
academia-edu/cached_counts