This **как** refers to **уже два дня**, not to the verb. **[Вот] уже** *period of time* **как** means 'it's been already *period of time* since', and "Букля уже два дня как улетела" is 'it's been already two days since Buklya has flown away.'