Adjust notification total_count for null component_value.

This ensures that total counts are correct when BP is assuming we only want
notifications from active components.

Props imath for an initial patch

Fixes #5300

git-svn-id: https://buddypress.svn.wordpress.org/trunk@7695 cdf35c40-ae34-48e0-9cc9-0c9da1808c22