count method

int count()

Implementation

int count() {
  return arr.length;
}