I don't know if they still do, but volunteers used to have a box fixed to their set which logged what people were watching. I think this is still the case, several thousand people participate then they take that as an average of the whole population.