Adding "contentStats" function