Counting points and doing integrals on Feynman diagrams 1