The typical scenario is the Gate is used like an Enable line. Use it to start and stop the counter. Connect your event to the Source. Monitor the counter on "out" or whatver the other pin is called. If you have two outputs, given the typical scenario, I would use two counters. I bet the 6024 has two (or more). You may just want to tie the Gates so that they are always enabled.