An individual swimming pool membership costs $27.50 per month plus a one-time registration fee of $22.50. If john has paid a total of $160, how long has he been a member?