two count of endangering the welfare of a child