The first figure is a shape of four squares including a shaded square at the bottom left column.
The second figure has 6 squares including a shaded square at the bottom left column.
The third figure has 8 squares including a shaded square at the bottom left column.
The fourth figure has 10 squares including a shaded square at the bottom left column.
Thus, the general pattern is that the number of squares are increasing constantly by 2 but the shaded square remains unchanged.
Thus, the next figure is;
The next figure in the pattern shows a shaded square at the bottom left column with one unshaded square at the top left column. It has 12 squares in total.