corrected var for submission count on Data