Return number of warning levels should include level 0