What are the counties that border the Potomac River in Maryland?

St. Mary's, Charles, Prince George's, Montgomery, Frederick, Washington, Allegany & Garrett