If by “climbing” up mean technical rock climbing then no this does not count toward to the aerobic base training volume. The recommended training modality for all aerobic base building volume (Zone1-2) for mountain sports if running and hiking (preferably in the mountains).
I hope this helps,
Scott