Add badge count to stats spec