Add directive for counting up stats