def METHOD_NAME(self):
    if self.startFromZero:
        if not self.lastFrameToEndOfFile:
            size = int(round(len(self.audio) / float(self.hopSize)))
        else:
            size = int(round((len(self.audio)+self.frameSize) / float(self.hopSize)))
    else:
        size = int(round((len(self.audio)+self.frameSize/2.0)/float(self.hopSize)))
    return size