SELECT count( q1 ) FROM table WHERE q1=5
SELECT count( q1 ) FROM table WHERE q1=4
SELECT count( q1 ) FROM table WHERE q1=3
SELECT count( q1 ) FROM table WHERE q1=2
SELECT count( q1 ) FROM table WHERE q1=1
SELECT count( q2 ) FROM table WHERE q2=5
SELECT count( q2 ) FROM table WHERE q2=4
SELECT count( q2 ) FROM table WHERE q2=3
SELECT count( q2 ) FROM table WHERE q2=2
SELECT count( q2 ) FROM table WHERE q2=1
SELECT count( q3 ) FROM table WHERE q3=5
SELECT count( q3 ) FROM table WHERE q3=4
SELECT count( q3 ) FROM table WHERE q3=3
SELECT count( q3 ) FROM table WHERE q3=2
SELECT count( q3 ) FROM table WHERE q3=1