Added MAXCOUNT constant

Started it at 5. This constant is for debouncing