How many SPF lookups does include:_spf.salesforce.com use?
2. One for the include itself, plus 1 inside Salesforce's record (_spf.salesforce.com).
That leaves 8 of the 10 lookups SPF allows for everything else in your record (RFC 7208, section 4.6.4).
Where the lookups come from
v=spf1 exists:%{i}._spf.mta.salesforce.com -all
No nested includes: everything is listed as IP ranges.
Check your whole record
curl -O https://raw.githubusercontent.com/truone01/spf-lookup-check/main/spf-check.mjs node spf-check.mjs yourdomain.com
Or use the online SPF lookup checker. Over the limit? Read how to find the cause and fix it.