Using mode() as a condition for Alerts

I am logging devices which report their operating status as an integer. It would be nice to configure an Alert with mode() as a condition rather than the provided avg() or median() so that I can evaluate against an integer. Avg() and median() return floats that may be far away from the integer represented by the mode().

Any ideas or is this just a feature request?