Revert "Delete the relevant part for stats to prepare for exercise tag"

This reverts commit c695821267736061b3a0efa0ec1161e7b2072f4e.