Php Count Empty Array Codeforces