Since the variables are non-negative, one possible choice is an entropy-like regularizer.
we cap each count to five and encode it using five binary indicator features, where the j th feature is set to 1 if the count is j and 0 otherwise.