The squares with two or more vertices in the set {A, B, C, D} are:

ABCD itself

The squares formed by taking adjacent vertices of ABCD (ABDC, ACBD, ADBC, BCDA, BDCA, CDAB)

Therefore, there are 7 squares that have two or more vertices in the set {A, B, C, D}.