sizefrequency function

calculate the size-frequency distribution of things