(1) The return value of that query is the row count, which is what you want...

(2) select count(*) from members where a=b