size

trait Collection[A] {
  def size: Int
}

size returns how many elements this collection has.