How Covid Deaths are Counted
I found this excellent article at the Association of American Medical Colleges that explains how it all works. What I like about this article is that it goes over the history of the media coverage and explains why there are conspiracy theorists who claim that the numbers are inflated. Aside from explaining inflated numbers, it also talks about what exactly counts as a Covid-19 death.
These sites at the CDC explain how they count Covid 19 deaths.
The short answers:
1. The CDC uses death certificates.
2. Death certificates use the cause from the doctor.