this to count the number for a given classes  if a = 1 then 'a' is send to arduino serial 
set1 n == a , b , c
0
1
2
set2 n > e , f , g more than given set - 1000 is off
1000
1000
1000
set3 n <  h , i , j if less than the given set - 0 is off
-0
-0
-0