There are many functions available relating to PHP arrays, and one of them is count, to get the total number of elements within an array.