I want to compare the number of caterpillars recorded on the maize plants according to the variety. I know that ANOVA is applied to continuous quantitative variables. What should I do if I have a discrete quantitative variable? Is the ANOVA applicable to the logarithm of a discrete quantitative variable?