I agree with Ken. I never remember the PIVOT syntax without a reference to BOL and, moreover, it is less flexible than expressing an old school case. You can have only one cumulative value that it is impossible to do something like.
SELECT COUNT(CASE WHEN foo='bar' THEN foo END) AS bar_count, SUM(CASE WHEN foo='bar' THEN foo END) AS bar_sum FROM your_table
source share