English rule suggestion

Hello again,

I have no clue how difficult it would be to check something like this:

“Our proposed method allows us to both X, Y, and Z.” The word “both” implies two, but the list did not contain two elements. I caught this in my writing, but LT did not. If it is easy to implement, then it might be a nice rule to implement. If things get too complicated too quickly, then nevermind.

Thanks. I’ve added a rule that will catch at least some of these cases. It will become active on https://languagetool.org tonight:

<rule id="BOTH_ENUM" name="'to both ...' with more than two items">    
                <pattern>
                    <token>to</token>
                    <marker>
                        <token skip="5">both</token>
                        <token>,</token>
                        <token skip="5"><exception>and</exception></token>
                        <token>,</token>
                        <token>and</token>
                    </marker>
                </pattern>
                <message>'both' is usually followed by two items</message>
                <example correction="">It allows us to <marker>both grow, focus, and</marker> flourish.</example>
                <example correction="">It allows us to <marker>both grow a lot, focus, and</marker> flourish.</example>
                <example correction="">It allows us to <marker>both grow a lot, focus some, and</marker> flourish.</example>
                <example>It allows us to <marker>both</marker> grow and focus, and later flourish.</example>
            </rule>