Gromah and LZR entered the great tomb, the first thing they see is a matrix of size

, and the elements in the matrix are all

or

.
LZR finds a note board saying "An all-one matrix is defined as the matrix whose elements are all

, you should determine the number of all-one submatrices of the given matrix that are not completely included by any other all-one submatrices".
Meanwhile, Gromah also finds a password lock, obviously the password should be the number mentioned in the note board!
Please help them determine the password and enter the next level.