Take Number of partitions from server.