Var count now returning local variable not calling JVM