added links for count
updated view dynamically
updated view dynamically