Workspace visibility for the user that you are using to query is insufficient. From the video, there are two tickets in the list that have QUERY instead of INC, which I assume is due to a second workspace having those tickets. Those two tickets would explain why your query comes back with 16 in the code instead of 18 that is expected. Fix the permissions on the user that you are getting the API key from and you’re good to go.