Maximize the Number of Partitions After Operations