Thanks for reporting this bug, although I cannot replicate the issue. Calling your examples both result in 12 for me and testing other calls with various offsets and limits results in the expected limit. Please let me know if the issue still occurs for your tests. In the meantime, I’ll share this with the team to double check this behavior. I’ll also share the language post.
For future reference, you can always file bugs using our GitHub repo for bug reporting at github.com/twitchdev/issues.