 Both Conway's and Jensen's versions of the transfer-matrix method involve counting the number of polyominoes that have a certain width.Computing the number for all widths gives the total number of polyominoes.The basic idea behind the method is that possible beginning rows are considered, and then to determine the minimum number of squares needed to complete the polyomino of the given width.