interrupt/counter

LandonW:
so I need something like

void dimmerSwitch(){
dimmerCount++; }

Nearly, but not quite

Your attachInterrupt() line is

attachInterrupt(digitalPinToInterrupt(dimmerSwitch), Dim, FALLING);

which means that it is looking for an Interrupt Service Routine called Dim and your code should be

void Dim(){
     dimmerCount++;     
}

However IMHO dimmerSwitchISR() would be a more meaningful name

...R