How many SPF lookups does include:mailsenders.netsuite.com use?

2. One for the include itself, plus 1 inside NetSuite's record (mailsenders.netsuite.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 a:outboundips.netsuite.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.