added spec_count and average_rating functions and tests
Merge pull request #1 from Chickengod/spec_counts

added spec_count and average_rating functions and tests