Darrell T. answered 03/23/19
Professional Journalist for 27 Years Before Teaching Writing
The use of commas does not depend on how many are used in a sentence or a paragraph. Rather, it depends on whether the rules for punctuating with commas are being used correctly. Your example is correct, because a comma should be used before a coordinating conjunction that connects two sentences. A sentence such as this may use four commas because it lists parts of speech, such as nouns, verbs, adjectives, and adverbs. In contrast, this sentence uses only one comma.