Quantitative Analysis of Bacterial Aggregation Mediated by Bioactive Nanoparticles