Fix: respect base datetime in contrib_count rule