more accurate buffer count
test script