Who defines the 'minimum number of people'? If it's not user-defined, I think you should make it clear what that value is. Otherwise, if I share this to my team of 7, but the minimum is 8, we'll never know. For smaller groups, you could add an option to show only the average, not the salaries. Then with as few as 3 people it would be reasonable to disclose the value.
The minimum is 4 people I believe.
But it seems to be something that a lot of people are asking. I will add the "minimum number of participants" option now.