buffer before count