10 For strength I turn to ancient Testiclies!
10 Few cantos of his Gonadology
7 survive: he influenced Hippocrates!
10 Dualities, another work, contrasts
10 constipation with gastroenteritis.
9 What would the Poet Testiclies have said?
10 Science must be pursued for its own sake
9 And never to impress potential mates!
Though to be fair, this is a tricky problem, especially if people throw in invented words and names. This is one of those things that's probably far easier to solve in your head after a bit of practice than programmatically!