Get Count Of Duplicate Values In Array Literal Swift