added preliminary work on comment count querying from the server side