I'm aware that using a count variable as a regressand in an OLS model is a no-no and know how to deal with that.
My question is, is it ok to use count variables without transformation as covariates in OLS, 2SLS, Heckman, etc type of models?
I'm aware that using a count variable as a regressand in an OLS model is a no-no and know how to deal with that.
My question is, is it ok to use count variables without transformation as covariates in OLS, 2SLS, Heckman, etc type of models?
As long as you can reasonably assume the response to be commensurate with the count data, e.g., the difference in $y$ between $x=1$ and $x=3$ to be twice that between $x=1$ and $x=2$, there is no problem whatsoever. Your regression doesn't care whether the regressor is discrete or is only observed discretely (as it is in any data analysis situation).
And if that assumption does not make sense, you can always transform your count variable (e.g., using splines). Just as for (nominally) continuous data.
As an example, it often makes sense to run a so-called "additive model" for the influence of certain single nucleotide polymorphisms (SNPs) on the susceptibility for some disease. Here you would encode whether someone had 0, 1 or 2 copies of the risk alleles.