I have a matrix for example 5x10.

```
double[][] matrix = new double[5][10]

```

I would like to know the size of these matrix, But if I do it:

```
matrix.length

```

It only return me columns size: 10

How could I do it?