Bounds for fixed points and fixed subgroups on surfaces and graphs