Deep Learning-Enabled Multitask System for Exercise Recognition and Counting