app/utils/storage.js
function setBadge(todos) {
  if (chrome.browserAction) {
    const count = todos.filter(todo => !todo.marked).length;
    chrome.browserAction.setBadgeText({ text: count > 0 ? count.toString() : '' });
  }
}
function setBadge(todos) {
  if (chrome.browserAction) {
    const count = todos.filter(todo => !todo.marked).length;
    chrome.browserAction.setBadgeText({ text: count > 0 ? count.toString() : '' });
  }
}
function setBadge ( todos ) { if ( chrome . browserAction ) { const count = todos . filter ( todo => ! todo . marked ) . length ; chrome . browserAction . setBadgeText ( { text : count > 0 ? count . toString ( ) : '' } ) ; } }
todos unmarked count
todos unmarked count