rating is measured by "Nielsen Ratings" you can read more about it hereif you like. In the past they used phone calls to produce the rating, today it's measured by cables, but only families that accepted to be measured.