code: def _countNumberOfAparitions(array, number):
      """Number of aparitions of a number in an array
  
      Parameters
      ----------
      array : array of numbers
  
      number : number to search for
  
      Returns
      -------
      aparaitions : int
          Number of aparitions of the number in the given array
      """
      aparitions = 0
      for i in range(0, len(array)):
          if array[i] == number:
              aparitions += 1
      return aparitions
  
imports: import math
  import numpy
label_desc: Use image node_id 5 for calling a global function with example usage: _countNumberOfAparitions(array, number) and returns: aparitions