It is every newborn child who shows signs of live after birth, like moving, breathing or crying.
If when being born the baby shows any of these signs and a little later died, it is a child born alive. Therefore, it should be included in the number of children had and excluded from the number of surviving children.