Tools
SPF Lookup Counter
Count include, a, mx, ptr, exists, and redirect against the RFC 7208 limit of 10.
RFC 7208 stops an SPF check at 10 DNS lookups. include, a, mx, ptr, exists, and redirect all count, and nested includes count too. ip4, ip6, and all do not. A record can look short and still be over the limit once a vendor include expands.
Flattening those includes into ip4 mechanisms buys room until the vendor changes their ranges. If you flatten, put a reminder on the calendar. I keep seeing this one, along with the other DNS mistakes I keep seeing.