When getting the array, a count variable must also be specified