I need a function that receives an element x, array and returns the number of duplicates sequences of x in an array. A sequence of 1 size will also be counted.
• It d