The blog post talks about minimizing count(rects) but the in-game comment only mentions having better than one rect per floor tile.
This second requirement is much simpler. One only needs to merge a single two rects into one rect to fulfil it. I assume this is a bug?
Edit: Sorry I didn't read the original post well enough the first time. It gives the more practical goal of 40 rects or less.