NEW YORK (CBSNewYork/AP) – The Bronx is considered to be New York’s unhealthiest county.

That’s according to national survey of county health statistics conducted by the Robert Wood Johnson Foundation and University of Wisconsin.

The survey shows how long and how well people live depending on multiple factors that include childhood poverty, rates of smoking, obesity levels and access to physicians and dentists.

Other factors such as access to healthy foods, levels of physical inactivity and teen birth rates are also taken into account.

Livingston County in western New York was ranked as the healthiest county followed by Rockland. Putnam, Westchester and Nassau counties were also among the top 10 healthiest counties in New York.

Suffolk County came in at 18th followed by Queens. Manhattan and Brooklyn came in at numbers 21 and 49.

In New Jersey, Hunterdon County was the Garden State’s healthiest county followed by Morris, Somerset, Bergen and Middlesex counties. Cumberland was New Jersey’s unhealthiest county. It was followed by Salem, Essex and Camden counties.

Connecticut’s healthiest county was Tolland County followed by Fairfield and Middlesex. New Haven was listed as the unhealthiest county.