Given an array of integers nums and a target, return how many times target appears in the array.
Count Occurrences (Set 3) — the data. This set runs 4 cases: nums holds arrays of 14–25 items, with values from 1 to 5; target ranges over 1–5. The hidden cases are the largest of the set.