<script lang="ts">
    import { getContext } from 'svelte'

    const { count }: any = getContext('global')
</script>

<p class="discover">
    Discover <strong>{count.photos} homes</strong><br>
    from <strong>{count.locations} cities</strong>
    of <strong>{count.countries} countries</strong>
</p>