Add dependency for number of posts on archive pages.

Adding new posts should recompile the archive pages, if they are
affected.