Count Numbers In Array Python Definition