public int getVertexCount() {
        return vertCount;
    }
Returns the number of vertices on this mesh.
The value is computed based on the position buffer, which
must be set on all meshes.

@return Number of vertices on the mesh
jme3-core/src/main/java/com/jme3/scene/Mesh.java