public void onMeshDrawn(Mesh mesh, int lod, int count) {
        if (!enabled) {
            return;
        }

        numObjects += 1;
        numTriangles += mesh.getTriangleCount(lod) * count;
        numVertices += mesh.getVertexCount() * count;
    }
Called by the Renderer when a mesh has been drawn.

@param mesh the Mesh that was drawn (not null)
@param lod which level of detail
@param count multiplier for triangles and vertices
jme3-core/src/main/java/com/jme3/renderer/Statistics.java