The COUNT function provides the ability to report the execution count for each statement written in a source program sequentially, along with the percentage of one count vs. another for all the statements. In addition, it shows the count by verb along with its percentage. The COUNT function enables the user to know exactly how many times each statement is executed and helps to optimize programs.