Data science/mabdeljalil V1

When counting like this, use `Array#count`