Yeah, if you put your rock in first nothing should be able to burrow underneath it. Also consider getting some large PVC pipe end caps. You can lay those on the bottom glass and then rest the rocks on those to "prop up" the rocks and not have tons buried under the sand bed. The biggest trouble with that much sand is rock slides and burrowing creatures. If you like the look then I'm not going to stop you, but I'd suggest something more modest about 2" or so of sand. Don't forget, cleaning that much sand is a PITA
To answer your question though, you'd need at least 1 40lb bag of sand for 4" and maybe more depending on how much rocks you use. You can always add mroe sand later. Also, don't buy that "Live" junk in plastic bags with water. Nothing live survives months on warehouse shelves sealed away from Oxygen and either freezing or baking away before it goes and sits stagnant again on your LFS shelves... It's a gimmick, just buy plain aragonite sand