An array contains the following 6 elements: [14, 5, 21, 8, 2, 17]. State the number of comparisons made during the first pass of a bubble sort on this array.
[14, 5, 21, 8, 2, 17]