https://d365hub.com/Posts/Details/4668fbd4-86fa-45b5-ab12-638246a27c17/how-to-get-direct-count-using-fetch-xml-capabilities