change frames count.