bge python counter

why wont this count ?.
coneccted to a always node, i added this script to update a counter property



import bge


def main():

    cont = bge.logic.getCurrentController()
    own = cont.owner

    count = cont.actuators['counter']
    
    if count == 50:
        own['counter']=1  # start from 1 again
    else:
        own['counter']+=1
main()