Count Function In Array In Python Problem