<%=h collection_stats[:count] %>
<% if collection_stats[:is_capped] %>
<%=h number_to_human_size(collection_stats[:size]) %> of <%=h number_to_human_size(collection_stats[:storageSize]) %>
<% else %>

You do not use capped collection for logs. More info.

<% end %>