1. A machine readable non-transitory storage medium having instructions stored thereon for providing prevalence information based on a query, wherein the instructions when executed by at least one processors cause the at least one processors to perform the following operations: retrieving a sequence of target values from a data source; receiving query data from a communication device; generating a sequence of query values based on an identifier associated with the communication device; comparing each value in the sequence of query values and a corresponding value in the sequence of target values to identify a number of matching values, wherein the number of matching values counts the number of times the value is equal to the corresponding value; upon determining that the number of matching values exceeds a maximum number of matches stored in the data source, updating the maximum number of matches in the data source; calculating, using a statistical model, a prevalence value and a degree of confidence in the prevalence value based, at least in part, on the maximum number of matching values, the prevalence value being proportional to the number of matching values; weighting the prevalence value based on the degree of confidence in the prevalence value, and outputting to the communication device the prevalence value for the query data.