Scanning of Italian verses comes quite close to an exact science, since Dante's time.
Ma il mio mistero è chiuso in mescans for exactly eight notes, any more would be a mistake.
French versology is another science, and no longer obeyed by modern songwriters.