added dinner count functionality.