Revert getTree method. One should return folders only.
IDEX-358: add count of children to ItemReference DTO