Add helper for computing histogram of syscall counts