cast result as array (allows counting length of 1)