What is the two dimensional coordination number of a molecule in square close-packed layer?

Four (4), as each atom is surrounded by four other atoms