count counts the number of objects with a given type (nodes, ways etc.) and hence takes exactly one argument which must be one of the unqouted strings nodes, ways, relations, deriveds, nwr, nw, wr or nr.
Because count is an aggregation function, it might be used in conjunction with the for statement.