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