Count Total Values In Array Python Definition