read framecount