Hi Steinar,
Thanks for your mail.
What I needed from BaseX was finding the size of the contents of the second level elements (ie. the elements immediately below the root element).
If you want to know the number of child elements from the root elements, you could run a simple XPath expression via the input bar [2] or editor panel [3] after opening the database:
count(/*/*)
As an alternative, you can first use the visualization to select the initial nodes, filter it (using the funnel icon in the upper right corner of the window) and then run the simple query * to see the number of results in the upper right corner.
Does this help? Do you have some basic experience with XPath or XQuery? Christian
[1] http://docs.basex.org/wiki/GUI#XQuery [2] http://docs.basex.org/wiki/GUI#Text_Editor