write definition of a method/function count_val(A,Val) to count and display number of times the value present in list A code example
Example: python count
Format: string.count(sub, start= 0,end=len(string))
string = "Add Grepper Answer"
print(string.count('e')
>>> 3