partitionsCount function

Number of Partitions/Compositions