Maybe using [Poisson glms with an offset](https://github.com/topepo/caret/issues/861) with `rsample` and so on.