added initialization of all label and feature/label counts to 0