Java - Count 2 elements of 2 arrays with same length

Java - Count 2 elements of 2 arrays with same length