array : Count all possible groups of size 2 or 3 that have sum as
multiple of 3