I'm trying to get a count of specific cell with specific dates... not exactly sure how to write this formula... Here's what I got.

Column A Column B

2012-01-02 Dog
2012-01-12 Dog
2012-03-25 Cat
2012-05-25 Dog


I need a formula that will count how many Dogs in January.