For count we can just use the array length.

count() {
	//Return count of numbers in our "nums" ivar
	return this.nums.length;
}