UPDATE: One beach under an advisory Wednesday night, two beaches closed.

Nearly 20 beaches in Monmouth and Ocean counties - most of which are along bays and rivers - were listed as being under water quality advisories due to elevated bacteria counts, according to the state Department of Environmental Protection.

Water quality advisories are issued by the DEP when any sample exceeds the state standard as a warning to the public of potentially unhealthy water conditions. Additional sampling is conducted until water quality results are again within the standard, according to the DEP.

According to data released by the DEP's New Jersey Cooperative Coastal Monitoring Program on Tuesday, 19 beaches between Sea Bright in Monmouth County and along the Toms River in Ocean Gate exceeded the safe bathing standards of 104 colony-forming units (CFU) per 100 milliliters of water.

The beach at Deal Casino recorded the highest bacteria levels in Monmouth County with 430 CFU, while the testing station at Anglesea Avenue in Ocean Gate recorded the highest level (1,060 CFU) in Ocean County.

Below is the list of beaches affected as of 10 a.m. Wednesday:

Sea Bright, Rumson Road, 230 CFU

Sea Bright, Public Beach, 290 CFU

Monmouth Beach, Pavilion Beach, 120 CFU

Long Branch, Laird Street, 130 CFU

Long Branch, North Bath Avenue, 230 CFU

Deal, Phillips Avenue, 130 CFU

Deal, Deal Casino, 430 CFU

Manasquan, East Main Street, 130 CFU

Manasquan, Inlet surfing beach, 250 CFU

Brick, Windward Beach, 160 CFU

Toms River, Shelter Cove, 380 CFU

Lavallette, Brooklyn Avenue, 200 CFU

Seaside Heights, Hancock Avenue, 120 CFU

Island Heights, Summit Avenue, 320 CFU

Beachwood, Beach West, 700 CFU

Pine Beach, West Beach Avon Road, 740 CFU

Pine Beach, East Beach Stations Avenue, 120 CFU

Ocean Gate, Wildwood Avenue, 620 CFU

Ocean Gate, Anglesea Avenue, 1,060 CFU

Rob Spahr may be reached at rspahr@njadvancemedia.com. Follow him on Twitter @TheRobSpahr. Find NJ.com on Facebook.