How To Check Array Count Function In Python