Fixed counts of spaces shown on pages.

Now shows correct number of occupied spaces.