Adds a method count_estimate to ActiveRecord::Relation based on https://wiki.postgresql.org/wiki/Count_estimate