fix for GRAILS-10119 "query caching not working for countBy* method"
Merge branch 'master' of github.com:SpringSource/grails-data-mapping