Deletion and Editing of your own comment and Added restriction for Home ...

...page
How about if $count is 0, null or an empty array?