'Number of pages which can really be used for swapping:
number of page minus bad pages minus one page (used for the header)'

def getPageCount(self):

    return ((self['last_page'].value - self['nb_badpage'].value) - 1)
