Lay the rope along the edge of your garden beds, making sure to ... you can calculate how many brick pavers you should buy. Divide the total length of edging by the length of the brick pavers ...
If you're using pavers to edge your lawn and your yard has curves, flexible plastic or metal edging might be the best choice. Those might also be good choices if you're edging your flower bed.