add foot layout
add count_min