select count(1)
from(
select  user_id
from user_order
group by user_id
having min( creat_date) = '2018-5-21') t