Prophets enforced the covenant between God and His People. Many people in Scripture prophesy occasionally but not all who do so hold the office of prophet. Therefore, scholars count the prophets differently.
prophets
Prophets Introduction
Introduction to the writings of the Old Testament Prophets