ISM policy to delete empty indices

I am looking to setup an ISM policy to automatically delete indices that end up empty (0 documents) after a day they are created.

I was exploring for any transition conditions such as max_doc_count AND min_index_age so that I can delete indices with 0 documents and aging 1 day but I don’t see max_doc_count as a possible condition to be used for transitioning a state to delete state. Are there any workarounds ?