>>13787152People log what they watch and when they change the channel. From that sample they have a system to make an estimate. It has a margin of error and is not perfect but longterm trends show it has some basis in reality and can be used to measure what is working, plus single segments jumping or plummeting are usually more accurate than a segment that changes by like 10k viewers or some shit.