new function :InflectionGrid.how_many_cells_are_filled()
fixed a bug in InflectionGrid.how_many_cells_are_filled + test