Corner Mazes

Find a horizontal and vertical path from the bottom left to the top right. The numbers in some of the squares indicate how many times the path has a corner in that square or the four touching squares. Here's an example:

Each puzzle below has a unique solution.