Interrupts don't work

  pinMode(2, INPUT);
  
  attachInterrupt(0,count, CHANGE);

are you using PULLUP or PULLDOWN resistors on Pin 2?