simplfied count partitions