Hello,
I’m trying to count the number of blocks in a parent block but the count returns 3 instead of two.
I fear it is counting the query block but I was unable to exclude it from the query…
## Dev-prop2
- Jira: `timeout: write`
- [[C_1_1_111_DataGather_Something_SelfService_functional_CheckingSomething]]
- [[C_2_2_222_Info_Something_SelfService_functional_CheckingSomething]]
- query-table:: false
#+BEGIN_QUERY
{:title "Children blocks count of parent block"
:inputs [:parent-block]
:query [:find (count ?b)
:in $ ?parent-block
:where
[?b :block/parent ?parent-block]
]}
#+END_QUERY
Any ideas?