select count(*) from (
select * from fl_member fl
inner join fl_member_activate flv
on fl.mem_id = flv.mem_id
where fl.mem_status = '0'
GROUP BY flv.mem_id
) tmp
select count(*) from (
select fl.mem_id from fl_member fl
inner join fl_member_activate flv
on fl.mem_id = flv.mem_id
where fl.mem_status = '0'
GROUP BY flv.mem_id) tmp