Correct backspace count on calculate

Signed-off-by: Morten Hustveit <mortehu@google.com>