optimizations: use profile num_of_submissions
Merge branch 'revamp-templates' of github.com:modilabs/formhub into revamp-templates