Splittable verb-object phrase.
跟头 (gēntou) is the noun 'somersault/fall' on its own. You can insert measure words between
摔 and
跟头:
摔了一个跟头 = 'took a fall'. The figurative 'suffer a setback' sense is extremely common in spoken Chinese — 'don't let yourself fall flat'.