Counting of rational points on graph hypersurfaces