what factors affect dog ownership costs