Here it should count at most 2 lookups.
The lookup to get the domain SPF and the lookup of the sengrid include.
IIRC it counts a lookup everytime it needs to do a DNS lookup, so that is not needed on IP/ranges values.
Sébastien Riccio
System & Network Admin
https://swisscenter.com