Estimating the number of competing terminals in an IEEE 802.11 wireless network