Fixes #22

Addresses an issue with chaining 'count' on a scope that uses an enum
object as the query condition.
Updating changelog
Merge branch 'fix-count-visitor-exception'