public int getInstanceCount() {
        return instanceCount;
    }
Returns the number of instances this mesh contains.  The instance
count is based on any VertexBuffers with instancing set.

@return the number of instances
jme3-core/src/main/java/com/jme3/scene/Mesh.java