Hello! I am trying to make a table that shows the number of instances of each type of missing values my data has. 0 means value is not missing, 1 is missing, 2 is do not know, 3 is will not answer, 4 is other specify and 5 is missing due to logical skip. There are over 100 variables in the dataset that categorize each observation into one of these 6 types of values. Below is an extract for 4 of those variables:

Code:
* Example generated by -dataex-. To install: ssc install dataex
clear
input float(m_number_children m_mother_educ m_completed_skill_specialization m_future_skill_specialization)
0 2 5 0
0 0 5 1
0 0 5 0
5 0 0 1
5 3 5 5
0 0 5 5
0 2 5 0
5 0 5 0
5 0 5 0
0 0 5 0
5 0 5 0
1 0 0 1
0 0 5 0
5 0 5 0
0 0 5 1
5 0 5 2
5 3 5 0
5 0 5 0
5 0 4 1
5 0 5 0
5 0 5 0
0 0 4 1
0 3 5 3
5 0 5 0
0 0 5 3
5 0 5 0
0 0 5 0
0 0 5 0
5 0 5 0
5 0 5 4
0 0 5 0
5 0 5 4
1 0 5 4
0 0 5 2
1 0 5 0
5 0 5 0
1 0 5 4
0 0 4 1
1 0 5 1
5 0 5 0
0 0 0 1
0 0 5 0
0 0 5 0
0 0 0 1
5 0 5 0
5 0 4 1
0 0 5 0
0 0 0 1
5 0 5 0
0 0 0 1
5 0 5 0
1 0 5 0
5 0 5 0
0 0 5 5
5 0 5 2
5 0 5 0
5 0 5 5
5 0 5 0
1 0 5 1
5 0 5 0
0 0 5 1
1 0 5 5
5 0 5 0
5 0 0 1
0 0 5 0
5 0 5 0
0 0 5 0
0 0 0 1
5 0 5 0
0 0 4 1
0 0 5 0
1 0 5 1
5 0 5 0
5 3 5 4
0 0 0 1
1 0 5 4
0 3 5 5
0 0 5 5
5 3 5 5
1 0 5 0
0 0 0 1
5 0 5 0
1 0 5 0
0 0 5 5
0 0 0 1
5 0 0 1
5 0 0 1
5 0 5 5
0 0 5 5
5 0 5 5
1 0 5 5
5 0 5 0
5 0 0 1
5 0 5 5
1 0 5 5
5 0 5 0
0 0 5 1
0 0 5 5
5 0 5 1
5 0 4 1
end
label values m_number_children m
label values m_mother_educ m
label values m_completed_skill_specialization m
label values m_future_skill_specialization m
label def m 0 "Not Missing", modify
label def m 1 "Missing", modify
label def m 5 "N/A due to logical skip", modify
label def m 3 "Will not answer", modify
label def m 4 "Other, Specify", modify
label def m 2 "Do not know", modify
What command can I use to count the freqeuncy of each of these types of missing values for my data and generate a table like this:
Variable Name Not missing Missing Do not know Will not answer Other, specify Missing due to logical skip TOTAL
m_number_children 8100 25 25 25 25 3800 12000
m_mother_edu 8000 56 44 50 50 3800 12000
m_current_skill_specialisation 10000 1000 200 300 500 0 12000
m_future _skill_specialisation 5000 1000 500 0 500 5000 12000
Thank you!