added dinner_count functionality.