Research showed raising a child costs an estimated $240,000.