build: Use standard Object.keys().size.
build: Use standard Object.keys().size.

This is part of #1132.

Kitware/geojs,OpenGeoscience/geojs,Kitware/geojs,OpenGeoscience/geojs,Kitware/geojs,OpenGeoscience/geojs