count amount of loops per method
added amount of loops per method to template