Text this: Periods for holomorphic maps via Lefschetz numbers