Implement count loglevel in LineItemRoot