The sacred tetragrammaton appears 6,828 times in various forms of vowel pointing in the Codex Leningradis. That is, there are six (6) different forms of vowel pointing of the tetragrammaton, which was influenced by its use in context.
For example, the form יֱהוִה appears twice in Scripture in Gen 15:2 and Gen 15:8; the form יֱהֹוִה exists once in Judg 16:28; and the יְהוִה form appears 271 times. In all three cases, the vocative form appears to be at issue.
However, other forms, such as יְהֹוָה, which appears 44 times, and יְהֹוִה, which appears 31 times, do not have any immediately apparent obvious grammatical indicators in context for their vowel pointing. The most common vowel pointing for the tetragrammaton is יְהוָה, which occurs 5,658 times in Scripture. These last three forms of the sacred tetragrammaton (described in this paragraph) occur 821 times in conjunction with prefixes.
The total then is 6,828 appearances of this word in the Hebrew Scriptures.