Php Get Count Of Duplicate Values In Array Meaning In Math