added seperate stats.py for counting without manipulating