[Grass 003] theory count function energy