Vasile Ermicioi Sat, 23 Apr 2011 10:35:40 -0700
but it is nicer if you have models (you can generate them from database tables)
print db(db.autos.out=='T').count()