Hi, sorry its me again,
So I am able to call searchTraits and listTraits from inside the function but I cannot call countTraits, I am also unable to use the an apiKey to call the count even though my model has the correct auth on it.
I have tried to remove permissions and add them again, but no luck.