I am trying to check the GTF annotation file for human, and I found that in first column which is the chromosome names just 1,2,........X,Y without chr so since the file is big I want to know how can I calculate the number of each chromosome (I mean how many 1, and how many2 ,..........etc). Is there any Linux command to do that. BTW I used the command
cut -f 1 .gtf_file > test
to cut the first column and save it in test file.