Split user country attribution command execute method into smaller methods.
Remove PDO cursor and use segments query instead.