How many SPF lookups does include:amazonses.com use?
1. One for the include itself, plus 0 inside Amazon SES's record (amazonses.com).
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:199.255.192.0/22 ip4:199.127.232.0/22 ip4:54.240.0.0/18 ip4:69.169.224.0/20 ip4:23.249.208.0/20 ip4:23.251.224.0/19 ip4:76.223.176.0/20 ip4:54.240.64.0/18 ip4:76.223.128.0/19 ip4:216.221.160.0/19 ip4:206.55.144.0/20 ip4:24.110.64.0/18 ip4:98.77.0.0/16 -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.