Why are you shocked that NYPL has more ebooks than Chicago? It's a bigger city.
BTW, there are no more "non-resident" cards being sold for NYPL. And in general, accessing a library e-account when you are not a local resident is against the terms of use of most libraries.