There have never been six boroughs in New York City. The city has consisted of exactly five boroughs since the consolidation of 1898:
Prior to 1898, "New York City" referred only to Manhattan. The 1898 charter unified the five counties into the modern municipal structure, which has remained unchanged.