Neustar interview question

2.1 Get the distinct number of rows in two dimensional binary array?