edits to counting frames off

Signed-off-by: Lindsey <glickfeld@neuro.duke.edu>