"NYC has a lot of developers, more than the valley" - do you have a source for that? Seems highly unlikely. My quick googling suggests silicon valley has 2x-5x more engineers than NYC.
Oh - I'm sorry - I was looking at job openings in a specific software field and there were way more openings in NYC - I confused that with devs.
A summary glance indicates that the Valley and SF may be roughly on par with NYC but that the Bay Area has more than NYC, I stand corrected - though there seems to be scant hard data as it's difficult to define exactly what a developer is ...
Living in NY for over a decade and visiting the Bay area often, I have to agree. I'd say the difference is even bigger if you look at Silicon Valley as a whole. I wouldn't be surprised if the ratio was more like 10:1.