Fixed missing data incompatability

Changed Shared/NonShared counts to handle discrepancies in categories.
Ex. Prof1 has a TV category but Prof2 doesn't.
Merge pull request #3 from manthedan/patch-3

Fixed missing data incompatability