numberInfectedBGW function

Number of infected hosts at time t (BGW)