With the new babies, there are 14 + 4 = <<14+4=18>>18 caterpillars.
With the big caterpillars leaving, there are 18 - 8 = <<18-8=10>>10 caterpillars on the tree.
#### 10