the method counttarget below is intended to return the number of times the value target appears in the array arr. the method may not work as intended. public int counttarget(int[] arr, int target) { int count