なんか>>398があまりに不憫なんで答えたるわ。

select col1,count(*) from table where col1 in (...) group by col1 order by col1;

whereにcol1を入れるつうから最初=で考えてて、col1の左隣に引っ掛けられそうになった