two counts of endangering a child