Answer/Step-by-step explanation:
You will have to check with someone first but I think the length would be 4.
The way i found it was just using my imagination to turn the square until it was directly on the grid so then I counted it and got 4.
Hope this helps :)