Fixed query to get count
camelCase the files library