Introduction
In Python, it is often necessary to count the number of occurrences of a specific value in a list. This can be useful in a variety of situations, such as analyzing data or processing user input. In this challenge, you will be tasked with writing a function that counts the number of occurrences of a given value in a list.