Safari Keyword Search does not collect any data, for any reason. The Safari extension does not have access to anything except a subset of the URLs you type into the address bar, and does not transmit this information anywhere. The full source code is available on GitHub.