How can i have a field in my parent doc in ES to store the number of child docs in it

Hi @yash.tandon

Here an example from the documentation:
https://www.elastic.co/guide/en/elasticsearch/guide/master/partial-updates.html#_updates_and_conflicts