Script to count positions played