instead of ``mixed``, I would document it as ``array|\Countable`` to be more explicit about what it can be