How do I get the count of contacts in my parent hierarchy while creating contact forms.
Suppose I have a hierarchy like:
- fchv_area
- household
When I am creating household, I want to know how many households are already created on the fchv_area I am in. If there are 3 households in fchv_area I am in, I want 3 to be passed when I am creating new household.
Here, I have 2 households in this fchv area.
When I click New houehold and open household create form, I want to know that there were 2 households in this fchv area.