Sky interview question

How many squares in this triangular prism?