Remove deprecated `:distinct` option from `Relation#count`.
Merge pull request #11226 from senny/remove_deprecated_distinct_option

Remove deprecated `:distinct` option from `Relation#count`.