Cast sqs count as integer.