Revert "Change in adapt_data are incorrect. Reverting till a proper solution is found."
The change was mostly correct, simply that static_numel doesn't behave as expected. Using static_size instead.

This reverts commit 0e9bc4479ca4210bcfba7ebb5ca60213d516879f.
fix includes in some fusion headers + use correct type for size of containers seen as fusion sequences