added link count to view