created joy_count model