<?php $a = ['foo', 'bar', 'foo']; echo array_count_values($a)['foo'];
You have javascript disabled. You will not be able to edit any code.