Count values in use for boolean attributes
Fix typos and add activity count