Adding comment count to view
Can you elaborate on the error?

I just did a quick test and was able to add comment count to a view:

Go to the views admin page , click fields, add


  Content: Comment count The number of comments a node has.