https://pandasquest.com/pandasのvalue_countsとapplyの活用法/1332/