[Brick Wall 007] theory count function energy