I think this is what you want...
=COUNTIF((INDIRECT("k"&G55):INDIRECT("k"&G54)),100)
Indirect is what will point what is in K and G55 to end up being the location of K10