how to count field that is a dropdown iteam

how to count field that is a dropdown iteam

hello

my form have field name, batch, exam status

I have a field in a form exam status with dropdown choice pass, fail, not sit

how can i count under reports based each group of student and display total number of exam pass using count option.

how to build the script

hope you can help thanks