Count Item in an Array

To get the number of items in an array, you can evaluate the array as scalar context. my @array = ("Apple", "O…