Fix MySQL failure for emoji autocomplete
Fix MySQL failure for emoji autocomplete

Postgres lets you treat `count` as another alias for `COUNT(*)` apparently, even
if that's not the actual alias used.

stoplightio/gitlabhq,dreampet/gitlab,stoplightio/gitlabhq,axilleas/gitlabhq,axilleas/gitlabhq,dreampet/gitlab,iiet/iiet-git,stoplightio/gitlabhq,dreampet/gitlab,jirutka/gitlabhq,jirutka/gitlabhq,mmkassem/gitlabhq,mmkassem/gitlabhq,dreampet/gitlab,iiet/iiet-git,mmkassem/gitlabhq,mmkassem/gitlabhq,axilleas/gitlabhq,jirutka/gitlabhq,jirutka/gitlabhq,iiet/iiet-git,stoplightio/gitlabhq,iiet/iiet-git,axilleas/gitlabhq