Count Repeated Numbers In Array Python