Text this: FPGA/DSP-based implementation of a high-performance multi-channel counter