Location and Count are local variables and boolean always showed false. I found out that vector == node doesnt work correctly. Then I made new Location and Count variables (not local) and it worked corectly.
Print your Location variable. If it is Local then it is always equal at default value (probably 0 0 0) at the start of the function. If you want a persistent value between each function call you have to declare it in a scope higher than your function (ex: your actor). That why it works if is is declare as not local.