'Returns the number of occurrences of the given ``value`` in ``list``.
The search can be narrowed to the selected sublist by the ``start`` and
``end`` indexes having the same semantics as with `Get Slice From List`
keyword. The given list is never altered by this keyword.
Example:
| ${x} = | Count Values In List | ${L3} | b |
| ${x} = 1
| ${L3} is not changed'

def count_values_in_list(self, list_, value, start=0, end=None):

    return self.get_slice_from_list(list_, start, end).count(value)
