I want a "group by and count" command in sqlalchemy. How can I do this?
session.query(TABLENAME).group_by(TABLENAME.colum).count()