Only display document count to authenticated users