Awesome, thank you :)
So if I also wanted to access the NodeID from the CMS_Tree table for a given DocumentID from the CMS_Document table, could I just use:
Documents.WHERE("NodeID=00000")[0].NodeChildNodesCount
Also, what is the 0 in the square brackets for? Is it expecting an argument?