analytics: Standardize format of zerver count queries.
analytics: Standardize format of zerver count queries.

count_message_type_by_user_query is in a different format (no WHERE clause)
from the rest since I'm having a hard time reasoning about how that would
interact with the LEFT JOIN, especially given that there are %(join_args)s.

eeshangarg/zulip,kou/zulip,aakash-cr7/zulip,JPJPJPOPOP/zulip,JPJPJPOPOP/zulip,shubhamdhama/zulip,dawran6/zulip,jrowan/zulip,Galexrt/zulip,andersk/zulip,tommyip/zulip,jrowan/zulip,brainwane/zulip,jackrzhang/zulip,punchagan/zulip,hackerkid/zulip,mahim97/zulip,Galexrt/zulip,shubhamdhama/zulip,kou/zulip,JPJPJPOPOP/zulip,punchagan/zulip,rht/zulip,showell/zulip,zulip/zulip,jrowan/zulip,eeshangarg/zulip,christi3k/zulip,tommyip/zulip,amanharitsh123/zulip,Galexrt/zulip,tommyip/zulip,timabbott/zulip,vabs22/zulip,PhilSk/zulip,rishig/zulip,jackrzhang/zulip,brockwhittaker/zulip,susansls/zulip,vaidap/zulip,eeshangarg/zulip,brainwane/zulip,zulip/zulip,susansls/zulip,rishig/zulip,souravbadami/zulip,rht/zulip,Galexrt/zulip,synicalsyntax/zulip,brockwhittaker/zulip,j831/zulip,jphilipsen05/zulip,synicalsyntax/zulip,kou/zulip,punchagan/zulip,susansls/zulip,hackerkid/zulip,christi3k/zulip,christi3k/zulip,verma-varsha/zulip,PhilSk/zulip,mahim97/zulip,andersk/zulip,shubhamdhama/zulip,zulip/zulip,punchagan/zulip,brainwane/zulip,eeshangarg/zulip,andersk/zulip,zulip/zulip,synicalsyntax/zulip,andersk/zulip,j831/zulip,synicalsyntax/zulip,jphilipsen05/zulip,aakash-cr7/zulip,dhcrzf/zulip,timabbott/zulip,SmartPeople/zulip,jphilipsen05/zulip,aakash-cr7/zulip,rishig/zulip,ryanbackman/zulip,showell/zulip,synicalsyntax/zulip,dhcrzf/zulip,brockwhittaker/zulip,jphilipsen05/zulip,verma-varsha/zulip,rht/zulip,jackrzhang/zulip,aakash-cr7/zulip,punchagan/zulip,dhcrzf/zulip,verma-varsha/zulip,jainayush975/zulip,timabbott/zulip,souravbadami/zulip,christi3k/zulip,rishig/zulip,souravbadami/zulip,shubhamdhama/zulip,j831/zulip,SmartPeople/zulip,hackerkid/zulip,SmartPeople/zulip,andersk/zulip,christi3k/zulip,vabs22/zulip,rishig/zulip,susansls/zulip,tommyip/zulip,brockwhittaker/zulip,mahim97/zulip,vabs22/zulip,Galexrt/zulip,jphilipsen05/zulip,synicalsyntax/zulip,showell/zulip,j831/zulip,timabbott/zulip,ryanbackman/zulip,jrowan/zulip,zulip/zulip,eeshangarg/zulip,dhcrzf/zulip,vaidap/zulip,vaidap/zulip,PhilSk/zulip,SmartPeople/zulip,shubhamdhama/zulip,jrowan/zulip,mahim97/zulip,susansls/zulip,ryanbackman/zulip,eeshangarg/zulip,andersk/zulip,dhcrzf/zulip,jackrzhang/zulip,susansls/zulip,hackerkid/zulip,mahim97/zulip,vaidap/zulip,JPJPJPOPOP/zulip,souravbadami/zulip,showell/zulip,rht/zulip,synicalsyntax/zulip,jainayush975/zulip,timabbott/zulip,Galexrt/zulip,brainwane/zulip,vabs22/zulip,verma-varsha/zulip,ryanbackman/zulip,dhcrzf/zulip,tommyip/zulip,jackrzhang/zulip,showell/zulip,brainwane/zulip,souravbadami/zulip,jainayush975/zulip,amanharitsh123/zulip,JPJPJPOPOP/zulip,vaidap/zulip,brainwane/zulip,aakash-cr7/zulip,timabbott/zulip,jainayush975/zulip,amanharitsh123/zulip,jphilipsen05/zulip,jackrzhang/zulip,rht/zulip,shubhamdhama/zulip,brainwane/zulip,amanharitsh123/zulip,verma-varsha/zulip,jainayush975/zulip,SmartPeople/zulip,jainayush975/zulip,rht/zulip,punchagan/zulip,jrowan/zulip,j831/zulip,dawran6/zulip,christi3k/zulip,dawran6/zulip,dawran6/zulip,tommyip/zulip,verma-varsha/zulip,andersk/zulip,tommyip/zulip,brockwhittaker/zulip,jackrzhang/zulip,hackerkid/zulip,vabs22/zulip,j831/zulip,souravbadami/zulip,hackerkid/zulip,kou/zulip,amanharitsh123/zulip,ryanbackman/zulip,punchagan/zulip,zulip/zulip,amanharitsh123/zulip,shubhamdhama/zulip,rishig/zulip,PhilSk/zulip,rishig/zulip,rht/zulip,Galexrt/zulip,dhcrzf/zulip,mahim97/zulip,ryanbackman/zulip,hackerkid/zulip,SmartPeople/zulip,eeshangarg/zulip,PhilSk/zulip,PhilSk/zulip,brockwhittaker/zulip,showell/zulip,kou/zulip,zulip/zulip,showell/zulip,JPJPJPOPOP/zulip,vaidap/zulip,kou/zulip,kou/zulip,aakash-cr7/zulip,dawran6/zulip,vabs22/zulip,dawran6/zulip,timabbott/zulip