rails/rails — pull request #7078 by kennyj (2012-07-17 18:06:38+00:00)
Title: Log query plan when we use count_by_sql method.

When we use `find_by_sql` method, we use `logging_query_plan` method.
But we use `count_by_sql`, we don't use one.