Added Linq queries for stats