Sec. 1. OFFICE AUTHORIZED. Subject to the provisions of this article, the commissioners court of any county having a population of more than two million shall establish and maintain the office of medical examiner, and the commissioners court of any county may establish and provide for the maintenance of the office of medical examiner. Population shall be according to the last preceding federal census.