Python script for interpreting counts