This forumula is meant to be used by counting every invitation sent out. So, yes, use the total amount of invited guests to figure this out.
Yes, you do include people you know are not going to show up. The reason for this is just to make sure, as you never know, these people could change their mind last minute.