change count to NSInteger
document -removeMinimumValue
document -removeAllObjects