<div dir="ltr">here&#39;s the view you&#39;re looking for:<div><br></div><div><div>$view = new view;</div><div>$view-&gt;name = &#39;total&#39;;</div><div>$view-&gt;description = &#39;&#39;;</div><div>$view-&gt;tag = &#39;default&#39;;</div>
<div>$view-&gt;base_table = &#39;users&#39;;</div><div>$view-&gt;human_name = &#39;total&#39;;</div><div>$view-&gt;core = 7;</div><div>$view-&gt;api_version = &#39;3.0-alpha1&#39;;</div><div>$view-&gt;disabled = FALSE; /* Edit this to true to make a default view disabled initially */</div>
<div><br></div><div>/* Display: Master */</div><div>$handler = $view-&gt;new_display(&#39;default&#39;, &#39;Master&#39;, &#39;default&#39;);</div><div>$handler-&gt;display-&gt;display_options[&#39;title&#39;] = &#39;total&#39;;</div>
<div>$handler-&gt;display-&gt;display_options[&#39;group_by&#39;] = TRUE;</div><div>$handler-&gt;display-&gt;display_options[&#39;access&#39;][&#39;type&#39;] = &#39;perm&#39;;</div><div>$handler-&gt;display-&gt;display_options[&#39;access&#39;][&#39;perm&#39;] = &#39;access user profiles&#39;;</div>
<div>$handler-&gt;display-&gt;display_options[&#39;cache&#39;][&#39;type&#39;] = &#39;none&#39;;</div><div>$handler-&gt;display-&gt;display_options[&#39;query&#39;][&#39;type&#39;] = &#39;views_query&#39;;</div><div>$handler-&gt;display-&gt;display_options[&#39;query&#39;][&#39;options&#39;][&#39;distinct&#39;] = TRUE;</div>
<div>$handler-&gt;display-&gt;display_options[&#39;query&#39;][&#39;options&#39;][&#39;query_comment&#39;] = FALSE;</div><div>$handler-&gt;display-&gt;display_options[&#39;exposed_form&#39;][&#39;type&#39;] = &#39;basic&#39;;</div>
<div>$handler-&gt;display-&gt;display_options[&#39;pager&#39;][&#39;type&#39;] = &#39;full&#39;;</div><div>$handler-&gt;display-&gt;display_options[&#39;pager&#39;][&#39;options&#39;][&#39;items_per_page&#39;] = &#39;10&#39;;</div>
<div>$handler-&gt;display-&gt;display_options[&#39;style_plugin&#39;] = &#39;default&#39;;</div><div>$handler-&gt;display-&gt;display_options[&#39;row_plugin&#39;] = &#39;fields&#39;;</div><div>$handler-&gt;display-&gt;display_options[&#39;row_options&#39;][&#39;hide_empty&#39;] = 0;</div>
<div>$handler-&gt;display-&gt;display_options[&#39;row_options&#39;][&#39;default_field_elements&#39;] = 1;</div><div>/* Relationship: User: Content authored */</div><div>$handler-&gt;display-&gt;display_options[&#39;relationships&#39;][&#39;uid&#39;][&#39;id&#39;] = &#39;uid&#39;;</div>
<div>$handler-&gt;display-&gt;display_options[&#39;relationships&#39;][&#39;uid&#39;][&#39;table&#39;] = &#39;users&#39;;</div><div>$handler-&gt;display-&gt;display_options[&#39;relationships&#39;][&#39;uid&#39;][&#39;field&#39;] = &#39;uid&#39;;</div>
<div>$handler-&gt;display-&gt;display_options[&#39;relationships&#39;][&#39;uid&#39;][&#39;required&#39;] = 0;</div><div>/* Field: User: Name */</div><div>$handler-&gt;display-&gt;display_options[&#39;fields&#39;][&#39;name&#39;][&#39;id&#39;] = &#39;name&#39;;</div>
<div>$handler-&gt;display-&gt;display_options[&#39;fields&#39;][&#39;name&#39;][&#39;table&#39;] = &#39;users&#39;;</div><div>$handler-&gt;display-&gt;display_options[&#39;fields&#39;][&#39;name&#39;][&#39;field&#39;] = &#39;name&#39;;</div>
<div>$handler-&gt;display-&gt;display_options[&#39;fields&#39;][&#39;name&#39;][&#39;label&#39;] = &#39;&#39;;</div><div>$handler-&gt;display-&gt;display_options[&#39;fields&#39;][&#39;name&#39;][&#39;alter&#39;][&#39;alter_text&#39;] = 0;</div>
<div>$handler-&gt;display-&gt;display_options[&#39;fields&#39;][&#39;name&#39;][&#39;alter&#39;][&#39;make_link&#39;] = 0;</div><div>$handler-&gt;display-&gt;display_options[&#39;fields&#39;][&#39;name&#39;][&#39;alter&#39;][&#39;absolute&#39;] = 0;</div>
<div>$handler-&gt;display-&gt;display_options[&#39;fields&#39;][&#39;name&#39;][&#39;alter&#39;][&#39;word_boundary&#39;] = 0;</div><div>$handler-&gt;display-&gt;display_options[&#39;fields&#39;][&#39;name&#39;][&#39;alter&#39;][&#39;ellipsis&#39;] = 0;</div>
<div>$handler-&gt;display-&gt;display_options[&#39;fields&#39;][&#39;name&#39;][&#39;alter&#39;][&#39;strip_tags&#39;] = 0;</div><div>$handler-&gt;display-&gt;display_options[&#39;fields&#39;][&#39;name&#39;][&#39;alter&#39;][&#39;trim&#39;] = 0;</div>
<div>$handler-&gt;display-&gt;display_options[&#39;fields&#39;][&#39;name&#39;][&#39;alter&#39;][&#39;html&#39;] = 0;</div><div>$handler-&gt;display-&gt;display_options[&#39;fields&#39;][&#39;name&#39;][&#39;hide_empty&#39;] = 0;</div>
<div>$handler-&gt;display-&gt;display_options[&#39;fields&#39;][&#39;name&#39;][&#39;empty_zero&#39;] = 0;</div><div>$handler-&gt;display-&gt;display_options[&#39;fields&#39;][&#39;name&#39;][&#39;link_to_user&#39;] = 1;</div>
<div>$handler-&gt;display-&gt;display_options[&#39;fields&#39;][&#39;name&#39;][&#39;overwrite_anonymous&#39;] = 0;</div><div>/* Field: COUNT(Content: Nid) */</div><div>$handler-&gt;display-&gt;display_options[&#39;fields&#39;][&#39;nid&#39;][&#39;id&#39;] = &#39;nid&#39;;</div>
<div>$handler-&gt;display-&gt;display_options[&#39;fields&#39;][&#39;nid&#39;][&#39;table&#39;] = &#39;node&#39;;</div><div>$handler-&gt;display-&gt;display_options[&#39;fields&#39;][&#39;nid&#39;][&#39;field&#39;] = &#39;nid&#39;;</div>
<div>$handler-&gt;display-&gt;display_options[&#39;fields&#39;][&#39;nid&#39;][&#39;relationship&#39;] = &#39;uid&#39;;</div><div>$handler-&gt;display-&gt;display_options[&#39;fields&#39;][&#39;nid&#39;][&#39;group_type&#39;] = &#39;count&#39;;</div>
<div>$handler-&gt;display-&gt;display_options[&#39;fields&#39;][&#39;nid&#39;][&#39;alter&#39;][&#39;alter_text&#39;] = 0;</div><div>$handler-&gt;display-&gt;display_options[&#39;fields&#39;][&#39;nid&#39;][&#39;alter&#39;][&#39;make_link&#39;] = 0;</div>
<div>$handler-&gt;display-&gt;display_options[&#39;fields&#39;][&#39;nid&#39;][&#39;alter&#39;][&#39;absolute&#39;] = 0;</div><div>$handler-&gt;display-&gt;display_options[&#39;fields&#39;][&#39;nid&#39;][&#39;alter&#39;][&#39;external&#39;] = 0;</div>
<div>$handler-&gt;display-&gt;display_options[&#39;fields&#39;][&#39;nid&#39;][&#39;alter&#39;][&#39;replace_spaces&#39;] = 0;</div><div>$handler-&gt;display-&gt;display_options[&#39;fields&#39;][&#39;nid&#39;][&#39;alter&#39;][&#39;trim_whitespace&#39;] = 0;</div>
<div>$handler-&gt;display-&gt;display_options[&#39;fields&#39;][&#39;nid&#39;][&#39;alter&#39;][&#39;nl2br&#39;] = 0;</div><div>$handler-&gt;display-&gt;display_options[&#39;fields&#39;][&#39;nid&#39;][&#39;alter&#39;][&#39;word_boundary&#39;] = 1;</div>
<div>$handler-&gt;display-&gt;display_options[&#39;fields&#39;][&#39;nid&#39;][&#39;alter&#39;][&#39;ellipsis&#39;] = 1;</div><div>$handler-&gt;display-&gt;display_options[&#39;fields&#39;][&#39;nid&#39;][&#39;alter&#39;][&#39;strip_tags&#39;] = 0;</div>
<div>$handler-&gt;display-&gt;display_options[&#39;fields&#39;][&#39;nid&#39;][&#39;alter&#39;][&#39;trim&#39;] = 0;</div><div>$handler-&gt;display-&gt;display_options[&#39;fields&#39;][&#39;nid&#39;][&#39;alter&#39;][&#39;html&#39;] = 0;</div>
<div>$handler-&gt;display-&gt;display_options[&#39;fields&#39;][&#39;nid&#39;][&#39;element_label_colon&#39;] = 1;</div><div>$handler-&gt;display-&gt;display_options[&#39;fields&#39;][&#39;nid&#39;][&#39;element_default_classes&#39;] = 1;</div>
<div>$handler-&gt;display-&gt;display_options[&#39;fields&#39;][&#39;nid&#39;][&#39;hide_empty&#39;] = 0;</div><div>$handler-&gt;display-&gt;display_options[&#39;fields&#39;][&#39;nid&#39;][&#39;empty_zero&#39;] = 0;</div>
<div>$handler-&gt;display-&gt;display_options[&#39;fields&#39;][&#39;nid&#39;][&#39;hide_alter_empty&#39;] = 0;</div><div>$handler-&gt;display-&gt;display_options[&#39;fields&#39;][&#39;nid&#39;][&#39;format_plural&#39;] = 0;</div>
<div>/* Sort criterion: User: Created date */</div><div>$handler-&gt;display-&gt;display_options[&#39;sorts&#39;][&#39;created&#39;][&#39;id&#39;] = &#39;created&#39;;</div><div>$handler-&gt;display-&gt;display_options[&#39;sorts&#39;][&#39;created&#39;][&#39;table&#39;] = &#39;users&#39;;</div>
<div>$handler-&gt;display-&gt;display_options[&#39;sorts&#39;][&#39;created&#39;][&#39;field&#39;] = &#39;created&#39;;</div><div>$handler-&gt;display-&gt;display_options[&#39;sorts&#39;][&#39;created&#39;][&#39;order&#39;] = &#39;DESC&#39;;</div>
<div>/* Filter criterion: User: Active */</div><div>$handler-&gt;display-&gt;display_options[&#39;filters&#39;][&#39;status&#39;][&#39;id&#39;] = &#39;status&#39;;</div><div>$handler-&gt;display-&gt;display_options[&#39;filters&#39;][&#39;status&#39;][&#39;table&#39;] = &#39;users&#39;;</div>
<div>$handler-&gt;display-&gt;display_options[&#39;filters&#39;][&#39;status&#39;][&#39;field&#39;] = &#39;status&#39;;</div><div>$handler-&gt;display-&gt;display_options[&#39;filters&#39;][&#39;status&#39;][&#39;value&#39;] = &#39;1&#39;;</div>
<div>$handler-&gt;display-&gt;display_options[&#39;filters&#39;][&#39;status&#39;][&#39;group&#39;] = 0;</div><div>$handler-&gt;display-&gt;display_options[&#39;filters&#39;][&#39;status&#39;][&#39;expose&#39;][&#39;operator&#39;] = FALSE;</div>
<div><br></div><div>/* Display: Page */</div><div>$handler = $view-&gt;new_display(&#39;page&#39;, &#39;Page&#39;, &#39;page&#39;);</div><div>$handler-&gt;display-&gt;display_options[&#39;path&#39;] = &#39;total&#39;;</div>
<div><br></div><br><div class="gmail_quote">On Mon, Nov 19, 2012 at 2:34 PM, Earnie Boyd <span dir="ltr">&lt;<a href="mailto:earnie@users.sourceforge.net" target="_blank">earnie@users.sourceforge.net</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Sun, Nov 18, 2012 at 5:55 AM, Swapnil &lt;<a href="mailto:swapnil.bhartiya@gmail.com">swapnil.bhartiya@gmail.com</a>&gt; wrote:<br>

&gt; On 11/18/2012 11:14 AM, Idan Arbel wrote:<br>
&gt;<br>
&gt; you can use views and add a count field.<br>
&gt;<br>
&gt;<br>
&gt; I could not fine the count field in views also how to see total posts by an<br>
&gt; author between given dates.<br>
&gt;<br>
<br>
</div>Use the archive module.<br>
<a href="http://drupal.org/project/archive" target="_blank">http://drupal.org/project/archive</a><br>
<br>
--<br>
Earnie<br>
-- <a href="https://sites.google.com/site/earnieboyd" target="_blank">https://sites.google.com/site/earnieboyd</a><br>
<div class="HOEnZb"><div class="h5">--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
</div></div></blockquote></div><br></div></div>