According to the documentation for search, accountCount is the number of sources the identity has an account on. This should work for your use case. Are you experiencing issues with using accountCount to gauge the number of sources an identity is on?