select count(*) from theTable where (response_id_x=1 and response_id_y=1);