How many SPF lookups does include:spf.mtasv.net use?
1. One for the include itself, plus 0 inside Postmark's record (spf.mtasv.net).
That leaves 9 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 ip4:50.31.156.96/27 ip4:104.245.209.192/26 ip4:50.31.205.0/24 ip4:147.160.158.0/24 -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.