The ratio of the number of red beads to the number of green beads to the number of blue beads is 2 : 3 : 7. There are 150 more blue beads than red beads. How many beads are there in all? Please show work.