count to 1, as we will have at least one subarray.current_gcd with the first element of the array.current_gcd and the current element.
b. If the GCD is 1, increment count, and set current_gcd to the current element (start a new subarray).
c. Otherwise, continue with the next element.count as the minimum number of subarrays needed.