compute num distinct dynamically, display integer not as double, add compound and feature tables