A bag contains green tokens and black tokens. There are 6 green tokens in the bag. The ratio of green tokens to black tokens is 2 : 7. Find the number of black tokens in the bag.