code refactoring to clear structure, add today count in share msg