GRAILS-10221 added extension points for list and count of resource