Merges to move get_median_count up to Hashtable class.

Relatively minor functional addition to base class, for the purpose of bringing new functionality into hashbits.