(c) Upon motion, a court shall award reasonable attorneys' fees and costs, including expert witness fees and other litigation expenses, to a plaintiff who is a prevailing party in any action brought:
(1) pursuant to subsection (b); or
(2) to enforce a right arising under the Illinois Constitution.
In awarding reasonable attorneys' fees, the court shall consider the degree to which the relief obtained relates to the relief sought.