returning distinct rows in sqlalchemy with sqlite,session.query(Tag).distinct(Tag.name).group_by(Tag.name).count()