How many squares are there in the following figure?

How Many Squares Are There In Figure

51

For a detailed explanation, watch the video.