select count(distinct(user_id)) new_cnt
from detail_list_tb
where month(begin_date)=9
and user_id not in
(select user_id from detail_list_tb where month(begin_date)<9)
select count(distinct(user_id)) new_cnt
from detail_list_tb
where month(begin_date)=9
and user_id not in
(select user_id from detail_list_tb where month(begin_date)<9)