Calculation of secretory antibodies and immunoglobulins