change dummy to count