code: def count_in_row(self, row_val, search_element):
      # change the row and search element to numpy array
      row_val = np.array(row_val)
      search_element = np.array(search_element)
  
      # checks if dimension diff is one between
      # row_val and search_element
      if row_val.ndim - search_element.ndim != 1:
          raise ValueError(
              "inconsistent dimensions for row value and search element"
          )
  
      result = row_val == search_element
      # reshape along the first dimension and then
      # check how many time search element exists
      return result.reshape(result.shape[0], -1).all(axis=1).sum()
  
file_path: evadb/evadb/functions/ndarray/array_count.py
imports: import numpy
  import pandas
  from evadb.functions.abstract.abstract_function import AbstractFunction
label_desc: Use image node_id 4 for calling the ArrayCount obj's underlying member method code with example usage: obj.count_in_row(row_val, search_element) and returns: result