Php Count Array Elements With 3