ticket counter working!

finally!