'Get how many vulns (web + normal) are in the workspace.
If it can\'t, it will return zero.'

def getVulnsCount(self):

    try:
        vulns = models.Vuln.class_signature
        web_vulns = models.WebVuln.class_signature
        count = (self.mappers_manager.getMapper(vulns).getCount() + self.mappers_manager.getMapper(web_vulns).getCount())
    except:
        getLogger(self).debug("Couldn't    get    vulnerabilities    count:    assuming    it    is    zero.")
        count = 0
    return count
