Simplified the index-view processing.

  Correctly show: 0 replies, 1 reply,  2 replies.
  Set the ID of each post in the index.