[Stone Wall 007] theory count function energy