cat filename | awk -F '[\t ]' '{for(i =1;i<=NF;++i)count[$1]++;}END{for (i in count) print count[i]}'