How many accents are there in Japan?

Do accents vary that much in Japan or are they mostly similar throughout the country? E.g. in the UK a London accent is very different to a Glasgow accent and I’m wondering if there’s that amount of variety in Japan too?

by Sad_Rhubarb9314