Jmeter how to get the counter index value to a variable
===

User difined variable ( Kvar = 15 )

while controller (${kvar} < 10 )
{

  Counter
   Start: ${K}
   Increment: -1
   Maximum : NULL
   Number format :NULL
   Reffrnece Name : count 
}

Above Variable Kvar is having value 15 in while loop it is decrementing by 1 using counter 

Now how i can copy the index value (count) to variable (Kvar)


thanks
Kavan