Add trending stats
Simplify time syntax
Add saftey check for nil values