Added the number queries

need to figure out submit button