GAUSS returns a 1 instead of zero after the command:
rows(selif(x,x.==3)) whenever the argument of selif is missing. Any simple fix to that?
If you just need to know how many 3's are in 'x', the simplest fix would be to change your code from:
sumc(x .== 3);