If you start with Mathematics, you'll end up in a loop: Mathematics > Quantity > Magnitude (mathematics) > Mathematics.
Ignoring this backlink, though, it would work:
Mathematics > Quantity > Magnitude (mathematics) > Mathematical object > Abstract and concrete > Referent > Linguistics > Science > Knowledge > Fact > Verificationism > Philosophy