Added frames variables

This will be used to count the amount of frames have been processed.