Text this: Multi-Activity Step Counting Algorithm Using Deep Learning Foot Flat Detection with an IMU Inside the Sole of a Shoe