public int size(){
        return size;
    }
Returns the number of elements in this GeometryList.

@return Number of elements in the list
jme3-core/src/main/java/com/jme3/renderer/queue/GeometryList.java