Modelling of Long-Term Afterglow Counterparts to Gravitational Wave Events: The Full View of GRB 170817A