total count for structure
use integers for threshold type, double for threshold (not percent)