Cache the result of goog.object.getCount