support for discrete number attributes