terminates. (3) Covered producer (A) In general The term covered producer means a farmer, livestock producer, shellfish grower, or other producer who derives at least 25 percent of total farm income from any combination of the following direct marketing arrangement in which the producer sells to: (i) The final consumer such as through farmers’ markets, community sponsored agriculture programs, farm stands, or online sales. (ii) Retailers including supermarkets, supercenters, restaurants, caterers, independent grocery stores, and food cooperatives. (iii) Institutions such as schools, colleges, universities, hospitals, as well as intermediary business such as wholesalers distributors, food hubs. (B) Exclusions The term covered producer does not include livestock or poultry integrators, processors, or other business entities relating to livestock and poultry production that do not raise livestock or poultry. (4) COVID–19 emergency The term COVID–19 emergency means the public health emergency declared by the Secretary of Health and Human Services under section 319 of the Public Health Service Act ( 42 U.S.C. 247d ) on January 31, 2020, with respect to COVID–19. (5) Revenue The term revenue , with respect to a covered producer, means total farm revenue, including revenue derived from agritourism activities conducted by a covered producer. (6) Secretary The term Secretary means the Secretary of Agriculture. (7) Socially disadvantaged farmer or rancher The term socially disadvantaged farmer or rancher has the meaning given the term in section 2501(a) of the Food, Agriculture, Conservation, and Trade Act of 1990 ( 7 U.S.C. 2279(a) ). (8) Farm number The term farm number has the meaning given the term in section 718.2 of title 7, Code of Federal Regulations (as in effect on the date of enactment of this Act). 3. Emergency Assistance for Farmers and Farmers’ Markets (a) COVID–19 emergency market response grants Section 210A of the Agricultural Marketing Act of 1946 ( 7 U.S.C. 1627c )— (1) in subsection (d), by adding at