Count Same Elements In Array Python Methods W3schools Php Oop