A teenager who stabbed three young girls at a Taylor Swift-themed dance class in England has been sentenced to more than 50 years in prison.