Removed support for deprecated `counter_sql`
Merge pull request #11241 from neerajdotname/deprecated-counter-sql

Removed support for deprecated `counter_sql`