Technically, you can find out the number of people with a certain name from the information of people who have handled the second-generation ID card. For example, if all the people in the country have applied for the second-generation ID card, then your problem may be solved. Therefore, there are two key issues at present: first, they all need to apply for second-generation ID cards, and second, relevant government departments will make this information public.