According to here: https://www.espn.com/nba/story/_/id/30706097/sources-houston-rockets-trade-james-harden-brooklyn-nets
These are the Rockets picks:
Houston also receives Brooklyn's three unprotected first-round draft picks -- 2022, 2024 and 2026 -- in the deal, plus pick swaps in 2021, 2023, 2025 and 2027, according to sources. The Rockets also get Cleveland's 2022 first-round pick, via the Milwaukee Bucks.
I don't think that Pacers got picks.
So it is 4 picks and 4 swaps... not quite 8 picks!