title: SQLite : Count function returning [object Database] (JS)
body: <p><strong>Here is my code:</strong></p>
  
  <pre><code>            var query = 'SELECT COUNT(Tag) FROM bugs';
  
              var tagnow = db.get(query, (err) =&gt; {
                  if (err){
                      console.log(err);
                      return;
                  };
  </code></pre>
  
  <p><strong>console.log(tagnow):</strong> [object Database]</p>
  
  <p><strong>What I want it to return:</strong> Integer value showing total number of rows under 'Tag'</p>
  
  <p>Thank you for your time.</p>