There are a lot of things to keep in mind when buying your coffee.