Return how many times the target appears anywhere in the two-dimensional array.
int count(int[][] grid, int target)
Examples
There are also 2 hidden tests you can't see. Solve the problem, not the examples.