Add additional parameters to allow the function to return bool, count (number of occurrences) and position (index).
Add additional parameters to allow the function to return bool, count (number of occurrences) and position (index).