I'm using the confluence_python_api and I can't seem to retrieve the number of children a page has. I have tried using confluence.cql("Parent = <parentID>") and then taking the length of that answer (number of elements in the json returned) but that only gives the number of elements over 500. If the number of children is below 500, it will give the correct number.
I've tried setting the start index and the limit, and I've tried doing two calls with start=0 limit=500 then start=500 and limit=1000 but it only returns those over 500 in the first call, then 0 on the second call.