Python Check Array Size In Json