Be mindful that Anglicans list 7 sacraments in the Book of Common Prayer. The Augsburg confession numbers three Sacraments; baptism, Eucharist, Confession and Absolution. The other "4" are considered either "sacramentals" or "sacramental acts"; that is "sacred acts". In confessional Lutheranism, ordination, installation of Pastors and Bishops/Presidents consist of a rite based on the Roman Ritual and included the laying on of hands. The anointing of the Sic likewise uses oil and like the Roman Ritual follows the Biblical example, and the traditional format; as does the Mass and the daily office. Etc.
What makes a sacrament a sacrament for a specific Church is their specific definition. The definition of the Catholic Church and the Orthodox is broader than that of Lutherans. Likewise, in Lutheranism the efficacy of the sacraments and sacramental acts are not dependent on "Holy Orders" or "Apostolic Succession"; rather their efficacy is from God alone.
With a few exceptions that were mentioned above, in "protestant" Churches, there is no efficacy and despite the promises of Scripture, neither are they considered or believed to be "means of grace".
So, you can use the the view of the sacraments to identify "protestants" but in doing so, it would tend to exclude Lutherans, and certainly "Confessional Lutherans" from being identified as "Protestant".
There is no simple answer by which a line can be truly drawn.