factors affecting franchise cost