How to limit max count of displayed all-day events in fullcalendar?

I want to show 3 events on all-day area and display the more click button behind those events. The default setting shows 4 events and hide others there.

I try to use the eventMaxStack configuration but it seems only to work in time grids but not in all-day area. If there’s any solution, please tell me.