On the analogy between L-functions and Atiyah-Bott-Lefschetz trace formulas for foliated spaces