There were two word's in that sentence.
There were two "word"s in that sentence.
8 It also indicates plurals of words:
What are the do's and don't's?
Are there too many but's and and's at the beginning of sentences these days?
Words and hyphenated phrases that are not nouns but are used as nouns form the plural by adding s or es. To avoid an awkward appearance, an adjustment in spelling (or sometimes an apostrophe) may been needed.