Class-Agnostic Repetitive Action Counting Using Wearable Devices