Count Regression Models
Like continuous variables, count variable are numerical. So it seems you should be able to apply methods for continuous data to count data.
After all, a mean makes sense for both.
But there are differences in the types of distributions that count and continuous variables tend to follow, and these differences can actually make the results quite different.
It’s generally a better idea to apply models that assume count data. Get more info on these kinds of models here.