write result to file
count numbers of links on page