Hello Statalist,

I am working with a labor force survey in which each observation represents an individual in the labor force. I have created a numeric (float) industry-variable "skill_profile"

Code:
* Example generated by -dataex-. To install: ssc install dataex
clear
input float skill_profile
1
1
3
3
3
3
3
3
3
1
3
1
4
3
4
3
1
3
4
4
4
4
3
3
3
3
4
1
1
3
3
3
4
3
1
1
1
1
1
1
3
1
1
1
3
1
3
4
1
3
1
3
2
1
1
3
3
1
3
1
1
3
2
1
4
3
3
1
3
1
2
4
1
4
3
1
1
1
1
1
1
4
1
1
1
1
1
1
3
3
1
1
1
3
1
3
3
4
3
3
end
label values skill_profile skill_profile
label def skill_profile 1 "low general skills", modify
label def skill_profile 2 "high general skills", modify
label def skill_profile 3 "low specific skills", modify
label def skill_profile 4 "high specific skills", modify
I would now like to count the number of industries in each "skill_profile" category, using the numeric integer variable "ind" for the industries

Code:
* Example generated by -dataex-. To install: ssc install dataex
clear
input int ind
6190
4690
8190
5070
8680
2290
6170
2180
6990
4970
 270
7590
7860
9470
7860
 270
5680
 270
7860
7860
7870
7870
2290
8680
8190
8190
9480
4670
7990
 770
3770
8190
7860
5070
2980
3970
1270
1270
8770
3095
 770
5380
4870
8470
 570
8370
 770
7290
7590
 770
8290
8680
8090
8770
7690
8680
7070
8560
7480
4970
8660
9470
7280
8390
7860
8190
6170
3680
6170
6680
8090
6480
 280
9480
6370
4690
6670
 170
8470
6670
6090
7860
8560
8370
 280
8180
8170
3875
 770
8680
4690
8370
5680
 770
4970
8680
8680
7860
7070
 770
end
label values ind ind
So far, I am only managing tables that list all "ind" values for each skill-profile category. Your help is much appreciated.