Count Total by Date
<p>I have the following Dataset:</p>

<pre><code>Date          Occupation      Employment
01/01/2005        1             Management
01/01/2005        1             Management
01/01/2005        1             Science
01/01/2006        1             Science
05/01/2006        1             Operational
01/01/2006        1             Science
for each month and year from January 2005 until December 2015.
</code></pre>

<p>What I want is Total for each category of the variable Employment for each month and year. </p>

<p>So for the example above it would be something like the following:</p>

<pre><code>Date            Occupation_Total       Employment
01/01/2005           2                 Management 
01/01/2005           1                 Science
01/01/2006           2                 Science
01/01/2006           1                 Operational
</code></pre>

<p>What is the best way to go about accomplishing this? </p>