fix count

Signed-off-by: Blaise Fonseca <blaisefonseca@hotmail.com>