public int getNumControls() {
        return controls.size();
    }
@return The number of controls attached to this Spatial.
@see Spatial#addControl(com.jme3.scene.control.Control)
@see Spatial#removeControl(java.lang.Class)
jme3-core/src/main/java/com/jme3/scene/Spatial.java