Why does my script read other file counts than I see in the app?
Some counts depend on who asks. In the status list, the counts cover the organization folder and the workspaces the caller can open: for a credential, only the workspaces it is limited to.
More: The REST API, Paging