If your 6025E has enough unused digital I/O, then I would connect the switches to some debounce ciruitry with latches. Use the digital I/O in a continous poll to read the status of the latches and after the read, send a signal to reset the latches so that they're ready for the next switch press. The counting is simple. If the digital line is high, increment a number held in a shift register.