There is the following beautiful formula (see Qiaochu Yuan excellent blog):
$$ \sum_{\lambda \in Young~diagrams~fitting~rectangle~m~n} q^{Box~count(="area~under~the~curve")~of~\lambda} = \binom{n+m}{n}_q $$
Conceptually it gives count of $F_q$ points of the Grassmanian via the summation over Schubert cells (left hand side) and via linear algebra (right hand side). Such formulas generalzies to partial flag varieties and simple Lie groups. Setting q=1 we get: number of such diagrams = binomial coefficient - which is rather obvious and it is suprising that we get generation function so easily - just change from binomial to q-binomial coefficient - yet another $F_{un}$-miracle.
Young diagram can be seen as special lattice paths - just those moving up-1 or right-1 - North-East lattice paths and box count is the same as the "area under the curve"
Question: What is known about count/generating function for lattice paths going from the left-down corner to the right-top corner of the rectangular (m,n) and that can make arbitrary (i,j)-move in one step ? (Generating function should be considered as above - $q^{"area~under~ the~ curve"} $ ).
Examples of paths and areas under them.
From motivation given below it seems to me that paths making e.g. step (2,2) or (1,1)+(1,1) should be considered as different paths.
Motivation:
Such paths appears e.g. in quite different field - statistics/machine learning.
The path is called "ROC"-curve (receiver operatator characteristic) and
"area under curve" (AUC) characterizes the quality of the "predictor".
That is the most commonly used measure of quality for machine learning tasks.
The case of Young diagram (or NE-path) corresponds to the situation where all values of "predictor" are distinct, while in general there can be repeated values of the predictor and one arrives to (i,j)-moves.
The light-red curve corresponds:
1 0 1 1 0 0 0 here 1=up, 0=right
6 5 4 3 3 2 1 here are values of the "predictor"
The green curve corresponds:
1 0 1 1 0 0 0 here 1=up, 0=right
2 2 2 1 1 1 1 here are values of the "predictor"
PS
The best source (known to me) which explains subtle details on AUC-ROC is Alexander Dyakonov's blog (the case of coincident values of the "predictor" commonly not exposed well).
PS
From the $F_1$-perspective counting such objects may correspond to something related to Lie algebra of $S_n$ whatever it be.