title: pandas aggregate count in dataframe
body: <p>I have a DataFrame and I am using <code>.aggregate({'col1': np.sum})</code>, this will perform a summation of the values in <code>col1</code> and aggregate them together. Is it possible to perform a count, something like <code>.aggregate({'col1': some count function here})</code>?</p>