Add helper for counting (unfiltered) syscalls in trace files