[Olena-patches] 3176: Add children computation to Laurent's code.