Adding a counter for the filter values.
Update SQL