Why is get_the_category() saying that I have two categories?

I’m guessing you’re referring to the

[category_count] => 2

when you say “saying that I have two categories”?

If so, you should understand that category_count is not the number of cateogries that this post has, but rather it is ‘the number of uses of this category (also stored as ‘count’)’ – see get_the_category function reference. The fact that there is only one array element in the returned object indicates that there is only 1 category assigned to this post.

count($categories)

… will give you what you are looking for.