frame counter working and exporting