MinMaxCount Working