Video Object Counting in Unconstrained Environments Using Density-Based Clustering