Generate a variable

#1
Hello Everyone,

I am fairly new to STATA and want to generate a new variable that captures the number of active members in a household. How do i please do it in STATA? Thanks.