@Override
        public void onAction(String name, boolean value, float tpf) {
            if (!value) {
                return;
            }
            toggleProfiler();
        }
Sets the number frames displayed and tracked.
@param count the number of frames
jme3-core/src/main/java/com/jme3/app/BasicProfilerState.java