added: counter for calculating page rank