Added count.py, revised threshold.py.