(SOLVED) This level is really hard

I got my code right, and it works fine, but for an unknown reason it won’t let me pass the level. It says I have not yet met the requirement that I need to use under 8 statements. I have written 7 statements, and that should fall into the “under 8” group. I tried changing my hero and restarting the level, however I got the same result every time. I’m not sure if this is a bug or not, since other people have had the same problem. But I would appreciate it if someone looked into this.

This topic is solved now, I found out I had 8 lines of code.