added to children_count_get return a count in sync mode