added number of links and images