Added scripts to count orders