one count of endangering the welfare of a child