Quandle Homology Groups, Their Betti Numbers, and Virtual Knots