What do you call the "technique" of putting the right amount of syllables in a verse? I put techniques around quotes, because I am not sure if it's a technique, but anyway there should be a word for that, but I don't remember what it is.
For example, some poems need to have 8 syllables in each verse (or line in poetry), and I want to know the name of the "technique". If you don't know any word for it, you could come up with the word for the rule, or some related term, it could be helpful.