Xrf fit

any reason not to just return on this line instead of declaring counts and then returning it?