Almost 3000 people died directly from the attacks (the official number, which includes the attackers) is 2996.
However, the actual death toll connected to the attack indirectly is bigger and it's harder to asses, as it lead to the US military actions in the middle East, searching for Osama Bin laden.