If I pivoted my career, how many years of experience should I say I have?

Professional experience vs relevant experience, some general heuristics, and where to put the unrelated experience in your resume.