Added frame count closes #6