added try catch block in setviewscount method for  number format exception
Merge pull request #657 from skpcharles/master

added try catch block in setviewscount method for  number format excepti...