Prometheus Group interview question

Count odd numbers in array