Made GeometryAttribute numItems behave like three.js