human
Find the Rotation Count in Rotated Sorted array | Returns count of rotations for an array which is first sorted in ascending order , then rotated.
We basically find index of minimum element.
Driver code"
Solution in Python:

=====
Write me a code to find the Rotation Count in Rotated Sorted array and the other steps required?
assistant
#Here is code to find the Rotation Count in Rotated Sorted array and the other steps required.
 def countRotations ( arr , n ) :
	min = arr [ 0 ]
	for i in range ( 0 , n ) :
		if ( min > arr [ i ] ) :
			min = arr [ i ]
			min_index = i
	return min_index ;
arr = [ 15 , 18 , 2 , 3 , 6 , 12 ]
n = len ( arr )
print ( countRotations ( arr , n ) )