Can you post the full stacktrace from the server? Seeing "JZ00B" in the message suggest that this is a message coming from the data source, because this isn't verbiage in a Teiid exception.
We'll need to see the associated source query as well. You are for example able to overflow the count aggregate as it's a 32 bit signed integer.
How to enable full stack trace from the server?
> How to enable full stack trace from the server?
An exception like this should create a warning entry in the server log unless you have adjusted the logging levels. Can you check the server log?