On Betti numbers of a class of bipartite planar graphs