Add helpers for ahead and behind counts