The count occurrences algorithm is used to iterate over an array to count the number of times that a particular value occurs. The user will usually be asked to enter a value that is to be found within ...