input: Write a python function to count the number of cookies in the `SimpleJSONRPCClient` class.
  assert count_cookies(client_with_3_cookies) == 3
  assert count_cookies(client_with_5_cookies) == 5
  assert count_cookies(client_with_no_cookies) == 0
output: def count_cookies(client):
      return len(client.cookies)