Given a grid of '1' (land) and '0' (water) single-character strings, return the number of islands. An island is land connected horizontally or vertically.