A data structure which supports counting members greater / smaller than a threshold in logarithmic timef