Keeping track of variables that have few or many states.