Adds ajax to count