CACI International Interview Question

Count occurrences in an array